<!doctype html> 
<html ng-app='text'> 
<head> 
    <meta charset="utf-8"> 
    <title></title> 
    <script type="text/javascript" src='angular.js'></script>
    <script type="text/javascript">

    var app = angular.module('text',[]);
    app.directive('leo',function (){
    	return {
    		'restrict':'E',
    		'template':'<span ng-transclude></span><span>leo</span>',
    		'transclude':true
    	}
    })
    </script>
</head>
<body>
<leo><span>王越超</span><span>张瑞希</span></leo>
</body>
</html>